package edu.pku.sei.modeler.neditor.ui;

import org.eclipse.jface.resource.ImageDescriptor;
import org.eclipse.ui.IEditorInput;
import org.eclipse.ui.IPersistableElement;

import edu.pku.sei.modeler.model.core.MetaModel;
import edu.pku.sei.modeler.model.core.MetaModelElement;

public class NotationEditorInput implements IEditorInput {
	public MetaModelElement abstractSyntax;
	public MetaModel model;

	public boolean exists() {
		return false;
	}

	public boolean equals(Object obj) {
		if(obj instanceof NotationEditorInput) {
			NotationEditorInput input = (NotationEditorInput)obj;
			if(input.abstractSyntax != this.abstractSyntax)return false;
			if(input.model != this.model)return false;
			return true;
		}
		return false;
	}
	public ImageDescriptor getImageDescriptor() {
		return null;
	}

	public String getName() {
		return "";
	}

	public IPersistableElement getPersistable() {
		return null;
	}

	public String getToolTipText() {
		return "";
	}

	public Object getAdapter(Class adapter) {
		return null;
	}
}
